|
Mocha is a JavaScript test framework running on node.js, featuring browser support, asynchronous testing, test coverage reports, and use of any assertion library. == Usage and examples == $ npm install -g mocha $ mkdir test var assert = require("assert") describe('Foo', function()) }) $ mocha . 1 test complete (1ms) For asynchronous testing, invoke the callback, and Mocha will wait for completion. describe('Foo', function()) }) 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Mocha (JavaScript framework)」の詳細全文を読む スポンサード リンク
|